package com.powerhua.cms.persistence.dao;

import java.util.List;

import com.powerhua.cms.domain.Content;

public interface ContentDao {

    public void create(Content c);

    public void update(Content c);

    public void deleteById(String id);

    public Content getContentById(String id);

    public List getContentsByUserId(String userId);

    public List getContentsByCategoryId(String categoryId, String userId);
}
